import http from "@/common/http.js"

// 登录
export const login = (url,method, data) => {
	return http({
		url: '/api/user/login' + url
	}, method,data)
}
export const equipment = (url,method, data) => {
	return http({
		url: '/api/equipment' + url
	}, method,data)
}
export const enums = () => {
	return http({
		url: '/api/enum/all',
	},'get')
}
export const softwareupgrade = (url,method, data) => {
	return http({
		url: '/api/softwareupgrade' + url
	}, method,data)
}
export const software = (url,method, data) => {
	return http({
		url: '/api/softwareversion' + url
	}, method,data)
}
export const equipmentupgrade = (url,method, data) => {
	return http({
		url: '/api/equipmentupgrade' + url
	}, method,data)
}
